from tkinter import * 
coords = [0, 0, 10, 0, 10, 10, 20, 10, 20, 20, 0, 20]
root = Tk()
root.title("ИТ марафон")
root.geometry("500x500")
canvas = Canvas(bg="orange" , width=500, height=500)
canvas.pack(anchor=CENTER,expand=1)
canvas.create_pjlygon(coords)
root.mainloop()
create_rectangle(__x0float,__y0float,__x1float,__y1float)
